home *** CD-ROM | disk | FTP | other *** search
- Path: trog.dra.hmg.gb!news
- From: Simon A Watts <sawatts@dra.hmg.gb>
- Newsgroups: comp.lang.c,comp.lang.c++,comp.lang.pascal
- Subject: Re: n-ary tree
- Date: Fri, 08 Mar 1996 13:52:13 +0000
- Organization: Defence Research Agency
- Message-ID: <31403B8D.16C7@dra.hmg.gb>
- References: <DMzn0p.1Gn.0.bloor@torfree.net> <3132E8DE.5D16@bbn.hp.com>
- NNTP-Posting-Host: 146.80.21.138
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- An N-tree is expressable (structurally same as?) a B-tree, where (say) the right
- hand branch represents siblings, and the left hand branch the first child. Saves a
- lot of hassle in designing complex N-trees.
-
- Manfred Lange wrote:
- >
- > Norry Dermouche wrote:
- > >
- > > Hi all,
- > >
- > > Is there any C/C++ library which contains the code for n-ary trees.
- > > Although they are a very important data structure, no book I read seem to
- > > give them the place they deserve. They can be transformed into binary
- > > trees but sometimes it's not feasible when nodes' position is important.
- > > So, I need to know if anybody has tried their implementation.
- > >
- > > Thanks in anticipation.
- > > --
- >
- > I wonder whether you are looking for N-ary tree implementations or whether
- > you are looking for a container class which uses N-ary tree for its
- > implementation.
- >
- > If the latter is the case, then you might consider to have a look on the
- > STL (Standard Template Library) which is freely available, e.g. Microsoft
- > Visual C++ 4.x comes with the STL, but there are also other places where
- > you can get it.
-
- --
- +--------------------+
- | Simon A Watts |
- | DRA Farnborough UK |
- | sawatts@dra.hmg.gb |
- +--------------------+
-